A =  [i*2 for i in range(10)]
print(A)  # 
B = (i*2 for i in range(10)) # 生成器不能直接打印出来
print(B)
# for j in B:
#     print(j)